# -*- coding:utf-8 -*-
"""
Created on 2009-12-13

@author: madlee
"""
"""This is a model for resource manager."""

#######################################################################
# String block. You man copy this block into kuailang.py in the default
# folder. And translate the text into localized message.

FRAME_TITLE = "Kuai Kan"

OPEN_FILE_TITLE = "Open Files"
SAVE_FILE_TITLE = "Save File %s"

ALL_FILE_FILTER = "All Files(*.*)|*.*"
TEXT_FILTER = "Text Files(*.txt)|*.txt"
HTML_FILTER = "HTML Files(*.html, *.htm)|*.html;*.htm"
PYTHON_FILTER = "Python Files(*.py, *.pyw)|*.py;*.pyw"

NONAME = "NONAME"

ERROR_UNKNOWN_FILE_TYPE = "We do not know how to open file %s"

ENSURE_SAVE_ALL = "Some opened documents were not saved. Do you want to Save them before exit?"

S_ERROR_CAPTION = "Error"

S_OPEN_FILE_DIALOG_TITLE = 'S_OPEN_FILE_DIALOG_TITLE'

MAX_FILE_HISTORY = 8

# End of String block.
#######################################################################

try:    # Try to load localized strings 
    from kuailang import * 
except: # Or we just use default when the importing is failed.
    pass
 
